<template>
    <el-button  type="primary"  plain @click="goTo(stock, date)">display</el-button>
</template>

<script setup>
import { openNewTableDDisplay } from '../../router';

const props = defineProps({
    stock: String,
    date: String
})

const goTo = (stock, date) => {
    openNewTableDDisplay(stock, date)
}
</script>